package com.gljx.web.dao;

import com.gljx.web.Entity.JournalEntry.StudentStateJournal;
import com.gljx.web.Entity.SubjectOneResult;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Component
public interface SubjectOneResultMapper {
	int deleteByPrimaryKey(String fid);

	int insert(SubjectOneResult record);

	int insertSelective(SubjectOneResult record);

	SubjectOneResult selectByPrimaryKey(String fid);

	int updateByPrimaryKeySelective(SubjectOneResult record);

	int updateByPrimaryKey(SubjectOneResult record);

	/**
	 * 查找最大编码
	 * @return
	 */
	String selectFnumber(String companyId);

	/**
	 * 根据fid查找科目一考试结果登记信息
	 * @param fid
	 * @return
	 */
	SubjectOneResult selectSubjectOneResultByFid(String fid);


	List<StudentStateJournal> selectmxJournal(Map map);

	List<SubjectOneResult> selectSubjectOneResult(Map map);
}